package edu.unicen.compilers.actions;

import edu.unicen.compilers.lexicon.LexicalAnalyzer;
import edu.unicen.compilers.parser.Parser;

public class SemanticAction2 extends SemanticAction {

	public SemanticAction2(LexicalAnalyzer la, Parser parser) {
		super(la, parser);
	}

	/**
	 * Concatenate token
	 */
	public void execute() {
		this.la.setLexeme( la.getPartialLexeme() + la.getLastCharacter());
	}

}
